/*
 * TODO
 */
package com.xtrip.adm.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xtrip.adm.dao.ProvinceDao;
import com.xtrip.adm.model.Province;
import com.xtrip.base.BaseDao;
import com.xtrip.base.BaseService;
import com.xtrip.common.BasicConstant;
import com.xtrip.util.IdGenerator;

/**
 * @project xtrip
 * @author shiming.yao
 * @time 2013-5-23
 */
@Service("provinceService")
public class ProvinceService extends BaseService<Province>{

	@Resource(name="provinceDao")
	private ProvinceDao dao;
	@Override
	public BaseDao<Province> getDao() {
		// TODO Auto-generated method stub
		return dao;
	}
	public void updateProvince(Province province){
		dao.update(province);
	}

}
